<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8">
		<meta name="referrer" content="never">
		<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
		<title></title>
		<style>
			.button {
				background-color: #4CAF50;
				border: none;
				color: white;
				padding: 15px 32px;
				text-align: center;
				text-decoration: none;
				display: inline-block;
				font-size: 14px;
				margin: 4px 2px;
				cursor: pointer;
				width: 50%;
				opacity: 0.4;
				right: 0px;
				bottom: 0px;
			}
		</style>
		<script type="text/javascript" src="js/jquery-2.1.0.js"></script>
		<script type="text/javascript">
			$(document).ready(function() {
				
				$.get("http://59.110.238.43:8808/n15s6asdfahh237t2has", function(data) {
					$("#vd").attr('src', data);
					
				});
				$.get("http://59.110.238.43:8808/n15s6asdfahh237t2has", function(data) {
					$("#vd2").attr('src', data);
					
				});
				
				$("#bt").click(function() {
					$("#bt").text("正在加载..")
					$(this).css("background-color", "#808080");
					$(this).attr("disabled", "true"); //设置变灰按钮  

					$.get("http://59.110.238.43:8808/n15s6asdfahh237t2has", function(data) {

						$("#vd").attr('src', $("#vd2").attr("src"));
						$("#vd2").attr('src', data);
//						alert($("#vd2").attr("src"));
						//alert(data);
						$('#bt').css("background-color", "#4CAF50");
						$('#bt').removeAttr('disabled');
						$("#bt").text("Go");
					});
				});
				document.getElementById("vd").onload = function() {
					$('#bt').css("background-color", "#4CAF50");
					$('#bt').removeAttr('disabled');
					$("#bt").text("Go");
				};
			});
		</script>
	</head>

	<body style="background-color: black;">
		<div id="dg" style="z-index: 9999; position: fixed ! important; right: 0px; bottom: 0px;">
			<button id="bt" class="button">开始</button>

		</div>
		<div style="width: 100%;height: 100%;">
			<video id="vd" style="width: 100%;height: auto;" autoplay="autoplay" loop="loop">
				<source src="https://bi.xunleimp4.com/files/1068/list.m3u8" type="video/mp4"></source>
			</video>
			<video style="display: none;" id="vd2" >
				<source id="s2" src="sdfsf" type="video/mp4"></source>
			</video>

		</div>

	</body>

</html>